package edu.neu.cloud_factory.entity.po;

import com.baomidou.mybatisplus.annotation.*;

import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 租用记录
 * </p>
 *
 * @author halozhy
 * @since 2021-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_rent_rec")
public class RentRec implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "r_id", type = IdType.AUTO)
    private Long rId;

    private LocalDateTime rRentTime;

    private LocalDateTime rExpireTime;

    @TableField(updateStrategy = FieldStrategy.IGNORED)
    private LocalDateTime rRecycleTime;

    private Long rDeviceId;

    private Long rFactoryId;


}
